<table cellspacing="0" cellpadding="0" class="nowrap">
<tr>
	<th><?=T_('Сортировка&nbsp;по:')?>&nbsp;&nbsp;&nbsp;&nbsp;</th>
	<th>
		<?= form_dropdown('order', $orderOptions, $this->input->get_post('order'), sprintf('class="selective_small" id="select_sortby" __templateUrl="%s"', Xregenerate_url('order,direction')), null, FALSE) ?>
	</th>
	<th>&nbsp;</th>
	<th class="hidden1 upDownSelect">
		<?= form_dropdown('Направление', array('asc' => T_("Вверх"), 'desc' => T_("Вниз")), $this->input->get_post('direction'), 'class="selective_small" id="select_direction"') ?>
	</th>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
$(document).ready(function() {
	$('#search_form select').bind('change', function(){
		$('#search_form').submit();
	})
});
</script>
